package dao;

import java.sql.SQLException;
import java.util.ArrayList;

import model.BookingDTO;
import model.BookingSearchDTO;


public interface BookingDAO  {
	public BookingDTO findBooking(String id) throws DAOException;
    public void insertBooking(BookingDTO booking) throws DAOException;
    public void updateBooking(BookingDTO booking) throws DAOException;
	public  ArrayList<BookingDTO> getAllBooking() throws DAOException;
	public ArrayList<BookingDTO> findBookingByCriteria(BookingSearchDTO bs)throws DAOException;
	public void deleteBooking(String id) throws DAOException;
	public void rejectBooking(String id) throws DAOException;
	public void approveBooking(String id) throws DAOException;
	public void cancelBooking(String id) throws DAOException;
}
